﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Lecture.Master" AutoEventWireup="true" CodeBehind="student_allocation.aspx.cs" Inherits="Final.student_allocation" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .style3
        {
            width: 100%;
        }
        .style4
        {
            width: 212px;
        }
        .style5
        {
            color: #FF6600;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    &nbsp;<h2 class="style5">
        Student Allocation</h2>
    <table class="style3">
        <tr>
            <td class="style4">
                <asp:ListBox ID="studentnameListbox" runat="server" AutoPostBack="True" 
        DataSourceID="getallstudentObjectDataSource" DataTextField="Name" 
        DataValueField="Adminno" Height="310px" 
        onselectedindexchanged="studentnameListbox_SelectedIndexChanged" Width="190px" 
                    style="margin-top: 0px">
    </asp:ListBox>
            </td>
            <td>
    <asp:Label ID="Label2" runat="server" Text="Admission No :" CssClass="lbl"></asp:Label>
                <br />
                <br />
    <asp:Label ID="Label1" runat="server" Text="Name" CssClass="lbl"></asp:Label>
                <br />
                <br />
    <asp:Label ID="Label3" runat="server" Text="Course Code :"></asp:Label>
                <br />
                <br />
    <asp:Label ID="Label4" runat="server" Text="Course Name :"></asp:Label>
                <br />
                <br />
    <asp:Label ID="label7" runat="server" Text="Module"></asp:Label>
                <br />
                <br />
    <asp:Label ID="Label5" runat="server" Text="Contact No. :"></asp:Label>
                <br />
                <br />
    <asp:Label ID="Label6" runat="server" Text="Email :"></asp:Label>
                <br />
                <br />
    <asp:Label ID="label9" runat="server" Text="Submitted Time :"></asp:Label>
                <br />
                <br />
                <asp:Label ID="Label10" runat="server" Text="Subject To Assign :"></asp:Label>
                <br />
                <br />
            </td>
            <td>
                <br />
                <br />
                <asp:Label 
        ID="lbl_adminNo" runat="server"></asp:Label>
                <br />
                <br />
                <asp:Label 
        ID="lbl_name" runat="server"></asp:Label>
                <br />
                <br />
                <asp:Label 
        ID="lbl_coursecode" runat="server"></asp:Label>
                <br />
                <br />
                <asp:Label 
        ID="lbl_courseName" runat="server"></asp:Label>
                <br />
                <br />
    <asp:Label ID="lbl_module" runat="server"></asp:Label>
                <br />
                <br />
    <asp:Label ID="lbl_contactNo" runat="server"></asp:Label>
                <br />
                <br />
    <asp:Label ID="lbl_email" runat="server"></asp:Label>
                <br />
                <br />
    <asp:Label ID="lbl_submittedtime" runat="server"></asp:Label>
                <br />
                <br />
                <asp:DropDownList 
        ID="subjectddl" runat="server" Height="18px" style="margin-left: 0px" 
        Width="195px" DataSourceID="getpriorityObjectDataSource" 
        DataTextField="Priority" DataValueField="Subjectcode">
    </asp:DropDownList>
                <br />
                <br />
    <asp:Button ID="approveButton" runat="server" onclick="approveButton_Click" 
        Text="Assign" Width="77px" />
                <br />
            </td>
        </tr>
        <tr>
            <td class="style4">
                &nbsp;</td>
            <td colspan="2">
                &nbsp;</td>
        </tr>
    </table>
    <br />
    <br />
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;
    <br __designer:mapid="3e" />
    <br __designer:mapid="3f" />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;
    <br __designer:mapid="42" />
    <br __designer:mapid="43" />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br __designer:mapid="46" />
    <br __designer:mapid="47" />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;<br />
    &nbsp;<br />
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;
    <br __designer:mapid="4a" />
    <br __designer:mapid="4b" />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <br />
    <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <br />
    <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <br />
    <br />
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; &nbsp;&nbsp;&nbsp;
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />
    <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />
    <asp:ObjectDataSource ID="getallstudentObjectDataSource" runat="server" 
        OldValuesParameterFormatString="original_{0}" SelectMethod="getallstudentinfo" 
        TypeName="Final.App_Code.studentsubject_allocation"></asp:ObjectDataSource>
    <br />
    <asp:ObjectDataSource ID="getpriorityObjectDataSource" runat="server" 
        OldValuesParameterFormatString="original_{0}" SelectMethod="getPriority" 
        TypeName="Final.App_Code.studentsubject_allocation">
        <SelectParameters>
            <asp:SessionParameter DefaultValue="0" Name="Adminno" SessionField="student" 
                Type="String" />
        </SelectParameters>
    </asp:ObjectDataSource>
    <br />
    <br />
&nbsp;
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <br />
    <br />
    <br />
    <br />
    <br />
    <br />
    <br />
    <br />
    <br />
    <br />
    <br />
    <br />
    <br />
    <br />
    <br />
    <br />
    <br />
    <br />
    <br />
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <br />
    <br />
    <br />
    <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" 
        OldValuesParameterFormatString="original_{0}" SelectMethod="getallstudentinfo" 
        TypeName="Final.App_Code.studentsubject_allocation"></asp:ObjectDataSource>
    <br />
    <br />
    <br />
    <br />
    <br />
    <br />
    <br />
    <br />
    <br />
    <br />
    <br />
    <br />
    <br />
    <br />
    <br />
    <br />
    <br />
</asp:Content>
